package chapter4XML;

public class CustomerImpl implements Customer{
	
	private String name;
	
	public CustomerImpl(String name) {
		this.name = name;
	}

	@Override
	public void buy(int itemId) {
		System.out.println(name + " bought" + " item: " + itemId);
	}
}
